import Vue from 'vue'
import VueRouter from 'vue-router'
import noFinish from '../views/noFinish/noFinish.vue'
import finish from '../views/finish/finish.vue'
import feed from '../views/feed/feed.vue'
import column from '../views/column/column.vue'
import service from '../views/service/service.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'noFinish',
    component: noFinish,
    meta: {
      keepAlive: true,
    }
  },
  {
    path: '/finish',
    name: 'finish',
    component: finish,
    meta: {
      keepAlive: true,
    }
  },
  {
    path: '/feed',
    name: 'feed',
    component: feed,
    meta: {
      keepAlive: true,
    }
  },
  {
    path: '/column',
    name: 'column',
    component: column,
    meta: {
      keepAlive: true,
    }
  },
  {
    path: '/service',
    name: 'service',
    component: service,
    meta: {
      keepAlive: true,
    }
  }
]

const router = new VueRouter({
  routes
})

export default router
